div,span,ul,ol,li,h1,h2,h3,h4,h5,h6,table,tr,td,th,p,select,option{
    margin: 0;
    padding: 0;
}

.carousel-box{
    height: 100%;
    position: relative;
}
.carousel-box .carousel-item{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: 1s;
}
.carousel-box .carousel-item.active{
    opacity: 1;
    z-index: 1;
}

.carousel-sub{
    width: 100%;
    height: 30px;
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: right;
    z-index: 2;
}
.carousel-sub .sub-item{
    display: inline-block;
    margin: 0 10px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background-color:#ccc;
    border-radius: 50%;
    cursor:pointer;
    transition: 1s;
}
.carousel-sub .sub-item.active{
    background-color:#eee;
    color: #1e7280;
}